package com.whnk.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whnk.common.base.BaseEntity;
import java.util.Date;

/**
 * 版本环境配置表vrsn_emt_cfg_mgt
 * 
 * @author whwhnk
 * @date 2019-03-26
 */
public class Environment extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 逻辑主键 */
	private String lgcPk;
	//private Integer  lgcPk;
	/** 项目编号 */
	private String prjId;
	/** 项目名称 */
	private String prjNm;
	/** 开发流编号 */
	private String dvlpstrmId;
	/** 开发流名称 */
	private String dvlpstrmNm;
	/** 版本日期 */
	private Date vrsnDt;
	/** 部署单元 */
	private String relsUit;
	/** 版本机IP */
	private String vrsnIp;
	/** 服务启动端口 */
	private String serstrPort;
	/** 目标版本包 */
	private String tagvrsnPag;
	/** 目标版本包路径 */
	private String tagvrsnPagRte;
	/** 是否在自动版本中生效(0:生效 1:未生效) */
	private String valid;

/*	public Integer getLgcPk() {
		return lgcPk;
	}
	public void setLgcPk(Integer lgcPk) {
		this.lgcPk = lgcPk;
	}*/
	
	public String getLgcPk() {
		return lgcPk;
	}

	public void setLgcPk(String lgcPk) {
		this.lgcPk = lgcPk;
	}

	public void setPrjId(String prjId) 
	{
		this.prjId = prjId;
	}

	public String getPrjId() 
	{
		return prjId;
	}
	public void setPrjNm(String prjNm) 
	{
		this.prjNm = prjNm;
	}

	public String getPrjNm() 
	{
		return prjNm;
	}
	public void setDvlpstrmId(String dvlpstrmId) 
	{
		this.dvlpstrmId = dvlpstrmId;
	}

	public String getDvlpstrmId() 
	{
		return dvlpstrmId;
	}
	public void setDvlpstrmNm(String dvlpstrmNm) 
	{
		this.dvlpstrmNm = dvlpstrmNm;
	}

	public String getDvlpstrmNm() 
	{
		return dvlpstrmNm;
	}
	public void setVrsnDt(Date vrsnDt) 
	{
		this.vrsnDt = vrsnDt;
	}

	public Date getVrsnDt() 
	{
		return vrsnDt;
	}
	public void setRelsUit(String relsUit) 
	{
		this.relsUit = relsUit;
	}

	public String getRelsUit() 
	{
		return relsUit;
	}
	public void setVrsnIp(String vrsnIp) 
	{
		this.vrsnIp = vrsnIp;
	}

	public String getVrsnIp() 
	{
		return vrsnIp;
	}
	public void setSerstrPort(String serstrPort) 
	{
		this.serstrPort = serstrPort;
	}

	public String getSerstrPort() 
	{
		return serstrPort;
	}
	public void setTagvrsnPag(String tagvrsnPag) 
	{
		this.tagvrsnPag = tagvrsnPag;
	}

	public String getTagvrsnPag() 
	{
		return tagvrsnPag;
	}
	public void setTagvrsnPagRte(String tagvrsnPagRte) 
	{
		this.tagvrsnPagRte = tagvrsnPagRte;
	}

	public String getTagvrsnPagRte() 
	{
		return tagvrsnPagRte;
	}
	public void setValid(String valid) 
	{
		this.valid = valid;
	}

	public String getValid() 
	{
		return valid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lgcPk", getLgcPk())
            .append("prjId", getPrjId())
            .append("prjNm", getPrjNm())
            .append("dvlpstrmId", getDvlpstrmId())
            .append("dvlpstrmNm", getDvlpstrmNm())
            .append("vrsnDt", getVrsnDt())
            .append("relsUit", getRelsUit())
            .append("vrsnIp", getVrsnIp())
            .append("serstrPort", getSerstrPort())
            .append("tagvrsnPag", getTagvrsnPag())
            .append("tagvrsnPagRte", getTagvrsnPagRte())
            .append("valid", getValid())
            .toString();
    }
}
